projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aafe514
)
(imenu): In interactive spec, pass the entire
author
Richard M. Stallman
<rms@gnu.org>
Wed, 5 Jun 1996 17:19:36 +0000
(17:19 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Wed, 5 Jun 1996 17:19:36 +0000
(17:19 +0000)
index item, not just the string.
lisp/imenu.el
patch
|
blob
|
history
diff --git
a/lisp/imenu.el
b/lisp/imenu.el
index 166d2e10798cddb291758d5d9d3b3a3e43b89a06..e4af044db137cebcb2abba31e7e52bd1707ec0e0 100644
(file)
--- a/
lisp/imenu.el
+++ b/
lisp/imenu.el
@@
-851,7
+851,7
@@
See `imenu-choose-buffer-index' for more information."
(interactive
(list (save-restriction
(widen)
- (
car (imenu-choose-buffer-index)
))))
+ (
imenu-choose-buffer-index
))))
;; Convert a string to an alist element.
(if (stringp index-item)
(setq index-item (assoc index-item (imenu--make-index-alist))))